package com.edu.gateway.base;


public enum GateWayResultCode {
    SAFETY_ERROR("鉴权未知异常","400000"),
    SAFETY_TIMESTAMP("鉴权失败，时间戳不合法","400001"),
    SAFETY_VERSION("鉴权版本为空","400002"),
    SAFETY_CAKEY("鉴权参数不合法","400002"),
    SAFETY_BUILD_FAIL("验签生成失败","400003"),
    SAFETY_CAKEY_SIGN("鉴权失败，签名不匹配","400009")
            ;
    private String msg;
    private String code;

    GateWayResultCode(String msg, String code) {
        this.msg = msg;
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public String getCode() {
        return code;
    }

}
